package zuoye.zuoye1;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class Test {
    public static void main(String[] args) {
        LocalDateTime time = LocalDateTime.now();
        DateUtils.formatDate(time, "yyyy-MM-dd HH:mm:ss");
        System.out.println("-----------------");

        LocalDateTime time1 = DateUtils.parseDate("2020-09-09 09:09:09");
        System.out.println(time1);



    }
}
